AmeliaBooking\Application\Services\Booking\AppointmentApplicationService D

Total Complexity 295
Dependencies 31
Dependents 0
Total lines 1,860
Lines of code 1,111
Logical lines of code 471
Comment lines 400
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
addOrEditAppointment()
D
27
36 140
update()
D
29
31 122
getBookingPriceForService()
C
37 26 68
bookingDetailsChanged()
B
41 23 52
getAlreadyBookedAppointment()
B
40 22 50
getUserConnectionChanges()
A
44 16 43
manageAppointmentStatusByBooking()
A
41 12 60
add()
A
38 11 71
processPackageAppointmentBooking()
A
45 12 43
delete()
A
52 12 25
isAppointmentStatusChangedWithBooking()
A
43 7 51
removeBookingFromGroupAppointment()
A
40 5 66
getMaximumBookingDuration()
A
57 8 17
isPeriodCustomPricing()
A
57 8 16
canBeBooked()
S
49 7 29
build()
S
46 6 40
getBookingLengthTime()
S
59 7 13
approveBooking()
S
45 5 42
getAppointmentLengthTime()
S
58 5 16
isPersonPricingType()
S
61 5 13
appointmentDetailsChanged()
S
62 5 12
isDurationPricingType()
S
61 5 12
manageDeletionParentRecurringAppointment()
S
57 4 17
getAppointmentEntitiesIdsBySearchString()
S
52 3 26
removeBookingFromNonGroupAppointment()
S
52 3 25
convertTime()
S
62 3 12
getAppointmentBooking()
S
67 3 8
isAppointmentRescheduled()
S
68 2 7
__construct()
S
81 1 3
isAppointmentStatusChanged()
S
79 1 3
calculateAndSetAppointmentEnd()
S
66 1 9